package com.wanmait.baohan.pojo;

import java.io.Serializable;
import java.util.Date;

public class TicketApproval implements Serializable {
    private Integer id;

    /**
	* 订票表id
	*/
    private Integer bookingTicketApplicationId;

    /**
	* 所属节点
	*/
    private Integer node;

    /**
	* 审批人id
	*/
    private Staff staff;

    /**
	* 审批状态（0不通过  1审批中 2通过）
	*/
    private Integer state;

    /**
	* 审批内容
	*/
    private String approvalInfo;

    /**
	* 审批时间
	*/
    private Date approvalTime;

    /**
	* 备注
	*/
    private String remarks;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBookingTicketApplicationId() {
        return bookingTicketApplicationId;
    }

    public void setBookingTicketApplicationId(Integer bookingTicketApplicationId) {
        this.bookingTicketApplicationId = bookingTicketApplicationId;
    }

    public Integer getNode() {
        return node;
    }

    public void setNode(Integer node) {
        this.node = node;
    }

    public Staff getStaff() {
        return staff;
    }

    public void setStaff(Staff staff) {
        this.staff = staff;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getApprovalInfo() {
        return approvalInfo;
    }

    public void setApprovalInfo(String approvalInfo) {
        this.approvalInfo = approvalInfo;
    }

    public Date getApprovalTime() {
        return approvalTime;
    }

    public void setApprovalTime(Date approvalTime) {
        this.approvalTime = approvalTime;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", bookingTicketApplicationId=").append(bookingTicketApplicationId);
        sb.append(", node=").append(node);
        sb.append(", staffId=").append(staff);
        sb.append(", state=").append(state);
        sb.append(", approvalInfo=").append(approvalInfo);
        sb.append(", approvalTime=").append(approvalTime);
        sb.append(", remarks=").append(remarks);
        sb.append("]");
        return sb.toString();
    }
}